Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add route options to routing loader #138

Merged
merged 3 commits into from
Feb 8, 2013
Merged

Conversation

sveriger
Copy link
Contributor

@sveriger sveriger commented Feb 7, 2013

Add route options to routing loader

@lsmith77
Copy link
Contributor

lsmith77 commented Feb 7, 2013

can you add some docs and tests? thank you

@sveriger
Copy link
Contributor Author

sveriger commented Feb 8, 2013

ok?

@lsmith77
Copy link
Contributor

lsmith77 commented Feb 8, 2013

@havvg whats your opinion on this?

@@ -250,6 +251,10 @@ Each filter set that you specify has the following options:
- `cache` - override the default cache setting
- `data_loader` - override the default data loader
- `controller_action` - override the default controller action
- `route` - optional list of route requirements, defaults and options using in the route loader. Add array width keys 'requirements', 'defaults' or 'options'.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Typo: Add array width should be Add array with

@havvg
Copy link
Contributor

havvg commented Feb 8, 2013

Looks good to me. I commented some clean up issues.

This could also avoid some DoS when using dynamic variables in filter routes.

@sveriger
Copy link
Contributor Author

sveriger commented Feb 8, 2013

ok?

havvg added a commit that referenced this pull request Feb 8, 2013
Add route options to routing loader
@havvg havvg merged commit c00512c into liip:master Feb 8, 2013
@havvg
Copy link
Contributor

havvg commented Feb 8, 2013

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Level: New Feature 🆕 This item involves the introduction of new functionality.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants